import { Group } from '@/components/pro-panel/index.typing';

const group: Group = {
  title: '数据源',
  key: 'dataSource',
  collapsed: false,
  columns: [
    {
      label: '类型',
      prop: 'type',
      type: 'select',
      formProps: {
        disabled: true,
      },
    },
    {
      label: '',
      prop: 'type1',
      type: 'select',
      span: 20,
      formProps: {
        disabled: true,
      },
    },
    {
      label: '',
      prop: 'add',
      type: 'slot',
      span: 4,
    },
    {
      label: '',
      prop: 'tip',
      type: 'slot',
    },
    {
      label: '请求方式',
      prop: 'method',
      type: 'select',
      span: 19,
      formProps: {
        disabled: true,
      },
    },
    {
      label: ' ',
      prop: 'send',
      type: 'slot',
      span: 5,
    },
    {
      label: '请求头',
      prop: 'method',
      type: 'input',
      formProps: {
        type: 'textarea',
        disabled: true,
      },
    },
  ],
};

export default group;
